﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GameLibrary.Events
{
    using Interfaces;
    public class LocationChangedEventArgs:EventArgs
    {
        public IMapObject Obj { get; private set; }
        public Position OldPosition { get; private set; }
        public Position NewPosition { get; private set; }
        public LocationChangedEventArgs(IMapObject obj, Position oldPosition, Position newPosition)
            : base()
        {
            this.Obj = obj;
            this.NewPosition = newPosition;
            this.OldPosition = oldPosition;
        }
    }
}
